package com.jsz.peini.bean.order;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdIsNull() {
            addCriterion("seller_info_id is null");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdIsNotNull() {
            addCriterion("seller_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdEqualTo(Integer value) {
            addCriterion("seller_info_id =", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdNotEqualTo(Integer value) {
            addCriterion("seller_info_id <>", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdGreaterThan(Integer value) {
            addCriterion("seller_info_id >", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("seller_info_id >=", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdLessThan(Integer value) {
            addCriterion("seller_info_id <", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("seller_info_id <=", value, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdIn(List<Integer> values) {
            addCriterion("seller_info_id in", values, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdNotIn(List<Integer> values) {
            addCriterion("seller_info_id not in", values, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("seller_info_id between", value1, value2, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andSellerInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("seller_info_id not between", value1, value2, "sellerInfoId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(String value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(String value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(String value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(String value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(String value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLike(String value) {
            addCriterion("user_id like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotLike(String value) {
            addCriterion("user_id not like", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<String> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<String> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(String value1, String value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(String value1, String value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andOtherIdIsNull() {
            addCriterion("other_id is null");
            return (Criteria) this;
        }

        public Criteria andOtherIdIsNotNull() {
            addCriterion("other_id is not null");
            return (Criteria) this;
        }

        public Criteria andOtherIdEqualTo(String value) {
            addCriterion("other_id =", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotEqualTo(String value) {
            addCriterion("other_id <>", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdGreaterThan(String value) {
            addCriterion("other_id >", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdGreaterThanOrEqualTo(String value) {
            addCriterion("other_id >=", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdLessThan(String value) {
            addCriterion("other_id <", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdLessThanOrEqualTo(String value) {
            addCriterion("other_id <=", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdLike(String value) {
            addCriterion("other_id like", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotLike(String value) {
            addCriterion("other_id not like", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdIn(List<String> values) {
            addCriterion("other_id in", values, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotIn(List<String> values) {
            addCriterion("other_id not in", values, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdBetween(String value1, String value2) {
            addCriterion("other_id between", value1, value2, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotBetween(String value1, String value2) {
            addCriterion("other_id not between", value1, value2, "otherId");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNull() {
            addCriterion("order_status is null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIsNotNull() {
            addCriterion("order_status is not null");
            return (Criteria) this;
        }

        public Criteria andOrderStatusEqualTo(Integer value) {
            addCriterion("order_status =", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotEqualTo(Integer value) {
            addCriterion("order_status <>", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThan(Integer value) {
            addCriterion("order_status >", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_status >=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThan(Integer value) {
            addCriterion("order_status <", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusLessThanOrEqualTo(Integer value) {
            addCriterion("order_status <=", value, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusIn(List<Integer> values) {
            addCriterion("order_status in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotIn(List<Integer> values) {
            addCriterion("order_status not in", values, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusBetween(Integer value1, Integer value2) {
            addCriterion("order_status between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("order_status not between", value1, value2, "orderStatus");
            return (Criteria) this;
        }

        public Criteria andAllMoneyIsNull() {
            addCriterion("all_money is null");
            return (Criteria) this;
        }

        public Criteria andAllMoneyIsNotNull() {
            addCriterion("all_money is not null");
            return (Criteria) this;
        }

        public Criteria andAllMoneyEqualTo(Integer value) {
            addCriterion("all_money =", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyNotEqualTo(Integer value) {
            addCriterion("all_money <>", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyGreaterThan(Integer value) {
            addCriterion("all_money >", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("all_money >=", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyLessThan(Integer value) {
            addCriterion("all_money <", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("all_money <=", value, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyIn(List<Integer> values) {
            addCriterion("all_money in", values, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyNotIn(List<Integer> values) {
            addCriterion("all_money not in", values, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyBetween(Integer value1, Integer value2) {
            addCriterion("all_money between", value1, value2, "allMoney");
            return (Criteria) this;
        }

        public Criteria andAllMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("all_money not between", value1, value2, "allMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyIsNull() {
            addCriterion("exclusive_money is null");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyIsNotNull() {
            addCriterion("exclusive_money is not null");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyEqualTo(BigDecimal value) {
            addCriterion("exclusive_money =", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyNotEqualTo(BigDecimal value) {
            addCriterion("exclusive_money <>", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyGreaterThan(BigDecimal value) {
            addCriterion("exclusive_money >", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("exclusive_money >=", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyLessThan(BigDecimal value) {
            addCriterion("exclusive_money <", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyLessThanOrEqualTo(BigDecimal value) {
            addCriterion("exclusive_money <=", value, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyIn(List<BigDecimal> values) {
            addCriterion("exclusive_money in", values, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyNotIn(List<BigDecimal> values) {
            addCriterion("exclusive_money not in", values, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exclusive_money between", value1, value2, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andExclusiveMoneyNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("exclusive_money not between", value1, value2, "exclusiveMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNull() {
            addCriterion("pay_money is null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIsNotNull() {
            addCriterion("pay_money is not null");
            return (Criteria) this;
        }

        public Criteria andPayMoneyEqualTo(Integer value) {
            addCriterion("pay_money =", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotEqualTo(Integer value) {
            addCriterion("pay_money <>", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThan(Integer value) {
            addCriterion("pay_money >", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_money >=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThan(Integer value) {
            addCriterion("pay_money <", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("pay_money <=", value, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyIn(List<Integer> values) {
            addCriterion("pay_money in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotIn(List<Integer> values) {
            addCriterion("pay_money not in", values, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyBetween(Integer value1, Integer value2) {
            addCriterion("pay_money between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andPayMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_money not between", value1, value2, "payMoney");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeIsNull() {
            addCriterion("seller_income is null");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeIsNotNull() {
            addCriterion("seller_income is not null");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeEqualTo(BigDecimal value) {
            addCriterion("seller_income =", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeNotEqualTo(BigDecimal value) {
            addCriterion("seller_income <>", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeGreaterThan(BigDecimal value) {
            addCriterion("seller_income >", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("seller_income >=", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeLessThan(BigDecimal value) {
            addCriterion("seller_income <", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("seller_income <=", value, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeIn(List<BigDecimal> values) {
            addCriterion("seller_income in", values, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeNotIn(List<BigDecimal> values) {
            addCriterion("seller_income not in", values, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("seller_income between", value1, value2, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andSellerIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("seller_income not between", value1, value2, "sellerIncome");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyIsNull() {
            addCriterion("coupon_money is null");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyIsNotNull() {
            addCriterion("coupon_money is not null");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyEqualTo(Integer value) {
            addCriterion("coupon_money =", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyNotEqualTo(Integer value) {
            addCriterion("coupon_money <>", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyGreaterThan(Integer value) {
            addCriterion("coupon_money >", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyGreaterThanOrEqualTo(Integer value) {
            addCriterion("coupon_money >=", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyLessThan(Integer value) {
            addCriterion("coupon_money <", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyLessThanOrEqualTo(Integer value) {
            addCriterion("coupon_money <=", value, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyIn(List<Integer> values) {
            addCriterion("coupon_money in", values, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyNotIn(List<Integer> values) {
            addCriterion("coupon_money not in", values, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyBetween(Integer value1, Integer value2) {
            addCriterion("coupon_money between", value1, value2, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponMoneyNotBetween(Integer value1, Integer value2) {
            addCriterion("coupon_money not between", value1, value2, "couponMoney");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdIsNull() {
            addCriterion("coupon_user_id is null");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdIsNotNull() {
            addCriterion("coupon_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdEqualTo(String value) {
            addCriterion("coupon_user_id =", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdNotEqualTo(String value) {
            addCriterion("coupon_user_id <>", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdGreaterThan(String value) {
            addCriterion("coupon_user_id >", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdGreaterThanOrEqualTo(String value) {
            addCriterion("coupon_user_id >=", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdLessThan(String value) {
            addCriterion("coupon_user_id <", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdLessThanOrEqualTo(String value) {
            addCriterion("coupon_user_id <=", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdLike(String value) {
            addCriterion("coupon_user_id like", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdNotLike(String value) {
            addCriterion("coupon_user_id not like", value, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdIn(List<String> values) {
            addCriterion("coupon_user_id in", values, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdNotIn(List<String> values) {
            addCriterion("coupon_user_id not in", values, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdBetween(String value1, String value2) {
            addCriterion("coupon_user_id between", value1, value2, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponUserIdNotBetween(String value1, String value2) {
            addCriterion("coupon_user_id not between", value1, value2, "couponUserId");
            return (Criteria) this;
        }

        public Criteria andCouponIdIsNull() {
            addCriterion("coupon_id is null");
            return (Criteria) this;
        }

        public Criteria andCouponIdIsNotNull() {
            addCriterion("coupon_id is not null");
            return (Criteria) this;
        }

        public Criteria andCouponIdEqualTo(Integer value) {
            addCriterion("coupon_id =", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotEqualTo(Integer value) {
            addCriterion("coupon_id <>", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdGreaterThan(Integer value) {
            addCriterion("coupon_id >", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("coupon_id >=", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdLessThan(Integer value) {
            addCriterion("coupon_id <", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdLessThanOrEqualTo(Integer value) {
            addCriterion("coupon_id <=", value, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdIn(List<Integer> values) {
            addCriterion("coupon_id in", values, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotIn(List<Integer> values) {
            addCriterion("coupon_id not in", values, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdBetween(Integer value1, Integer value2) {
            addCriterion("coupon_id between", value1, value2, "couponId");
            return (Criteria) this;
        }

        public Criteria andCouponIdNotBetween(Integer value1, Integer value2) {
            addCriterion("coupon_id not between", value1, value2, "couponId");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeIsNull() {
            addCriterion("official_assume is null");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeIsNotNull() {
            addCriterion("official_assume is not null");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeEqualTo(BigDecimal value) {
            addCriterion("official_assume =", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeNotEqualTo(BigDecimal value) {
            addCriterion("official_assume <>", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeGreaterThan(BigDecimal value) {
            addCriterion("official_assume >", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("official_assume >=", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeLessThan(BigDecimal value) {
            addCriterion("official_assume <", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("official_assume <=", value, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeIn(List<BigDecimal> values) {
            addCriterion("official_assume in", values, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeNotIn(List<BigDecimal> values) {
            addCriterion("official_assume not in", values, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("official_assume between", value1, value2, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andOfficialAssumeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("official_assume not between", value1, value2, "officialAssume");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNull() {
            addCriterion("user_phone is null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIsNotNull() {
            addCriterion("user_phone is not null");
            return (Criteria) this;
        }

        public Criteria andUserPhoneEqualTo(String value) {
            addCriterion("user_phone =", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotEqualTo(String value) {
            addCriterion("user_phone <>", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThan(String value) {
            addCriterion("user_phone >", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("user_phone >=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThan(String value) {
            addCriterion("user_phone <", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLessThanOrEqualTo(String value) {
            addCriterion("user_phone <=", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneLike(String value) {
            addCriterion("user_phone like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotLike(String value) {
            addCriterion("user_phone not like", value, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneIn(List<String> values) {
            addCriterion("user_phone in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotIn(List<String> values) {
            addCriterion("user_phone not in", values, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneBetween(String value1, String value2) {
            addCriterion("user_phone between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andUserPhoneNotBetween(String value1, String value2) {
            addCriterion("user_phone not between", value1, value2, "userPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIsNull() {
            addCriterion("contract_phone is null");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIsNotNull() {
            addCriterion("contract_phone is not null");
            return (Criteria) this;
        }

        public Criteria andContractPhoneEqualTo(String value) {
            addCriterion("contract_phone =", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotEqualTo(String value) {
            addCriterion("contract_phone <>", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneGreaterThan(String value) {
            addCriterion("contract_phone >", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("contract_phone >=", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLessThan(String value) {
            addCriterion("contract_phone <", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLessThanOrEqualTo(String value) {
            addCriterion("contract_phone <=", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneLike(String value) {
            addCriterion("contract_phone like", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotLike(String value) {
            addCriterion("contract_phone not like", value, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneIn(List<String> values) {
            addCriterion("contract_phone in", values, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotIn(List<String> values) {
            addCriterion("contract_phone not in", values, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneBetween(String value1, String value2) {
            addCriterion("contract_phone between", value1, value2, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andContractPhoneNotBetween(String value1, String value2) {
            addCriterion("contract_phone not between", value1, value2, "contractPhone");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNull() {
            addCriterion("order_time is null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIsNotNull() {
            addCriterion("order_time is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTimeEqualTo(Date value) {
            addCriterion("order_time =", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotEqualTo(Date value) {
            addCriterion("order_time <>", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThan(Date value) {
            addCriterion("order_time >", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("order_time >=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThan(Date value) {
            addCriterion("order_time <", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeLessThanOrEqualTo(Date value) {
            addCriterion("order_time <=", value, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeIn(List<Date> values) {
            addCriterion("order_time in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotIn(List<Date> values) {
            addCriterion("order_time not in", values, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeBetween(Date value1, Date value2) {
            addCriterion("order_time between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOrderTimeNotBetween(Date value1, Date value2) {
            addCriterion("order_time not between", value1, value2, "orderTime");
            return (Criteria) this;
        }

        public Criteria andOtherBuyIsNull() {
            addCriterion("other_buy is null");
            return (Criteria) this;
        }

        public Criteria andOtherBuyIsNotNull() {
            addCriterion("other_buy is not null");
            return (Criteria) this;
        }

        public Criteria andOtherBuyEqualTo(Integer value) {
            addCriterion("other_buy =", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyNotEqualTo(Integer value) {
            addCriterion("other_buy <>", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyGreaterThan(Integer value) {
            addCriterion("other_buy >", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyGreaterThanOrEqualTo(Integer value) {
            addCriterion("other_buy >=", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyLessThan(Integer value) {
            addCriterion("other_buy <", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyLessThanOrEqualTo(Integer value) {
            addCriterion("other_buy <=", value, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyIn(List<Integer> values) {
            addCriterion("other_buy in", values, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyNotIn(List<Integer> values) {
            addCriterion("other_buy not in", values, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyBetween(Integer value1, Integer value2) {
            addCriterion("other_buy between", value1, value2, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andOtherBuyNotBetween(Integer value1, Integer value2) {
            addCriterion("other_buy not between", value1, value2, "otherBuy");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdIsNull() {
            addCriterion("task_info_id is null");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdIsNotNull() {
            addCriterion("task_info_id is not null");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdEqualTo(Integer value) {
            addCriterion("task_info_id =", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdNotEqualTo(Integer value) {
            addCriterion("task_info_id <>", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdGreaterThan(Integer value) {
            addCriterion("task_info_id >", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_info_id >=", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdLessThan(Integer value) {
            addCriterion("task_info_id <", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdLessThanOrEqualTo(Integer value) {
            addCriterion("task_info_id <=", value, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdIn(List<Integer> values) {
            addCriterion("task_info_id in", values, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdNotIn(List<Integer> values) {
            addCriterion("task_info_id not in", values, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdBetween(Integer value1, Integer value2) {
            addCriterion("task_info_id between", value1, value2, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andTaskInfoIdNotBetween(Integer value1, Integer value2) {
            addCriterion("task_info_id not between", value1, value2, "taskInfoId");
            return (Criteria) this;
        }

        public Criteria andOrderDescIsNull() {
            addCriterion("order_desc is null");
            return (Criteria) this;
        }

        public Criteria andOrderDescIsNotNull() {
            addCriterion("order_desc is not null");
            return (Criteria) this;
        }

        public Criteria andOrderDescEqualTo(String value) {
            addCriterion("order_desc =", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescNotEqualTo(String value) {
            addCriterion("order_desc <>", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescGreaterThan(String value) {
            addCriterion("order_desc >", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescGreaterThanOrEqualTo(String value) {
            addCriterion("order_desc >=", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescLessThan(String value) {
            addCriterion("order_desc <", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescLessThanOrEqualTo(String value) {
            addCriterion("order_desc <=", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescLike(String value) {
            addCriterion("order_desc like", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescNotLike(String value) {
            addCriterion("order_desc not like", value, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescIn(List<String> values) {
            addCriterion("order_desc in", values, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescNotIn(List<String> values) {
            addCriterion("order_desc not in", values, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescBetween(String value1, String value2) {
            addCriterion("order_desc between", value1, value2, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderDescNotBetween(String value1, String value2) {
            addCriterion("order_desc not between", value1, value2, "orderDesc");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNull() {
            addCriterion("order_type is null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIsNotNull() {
            addCriterion("order_type is not null");
            return (Criteria) this;
        }

        public Criteria andOrderTypeEqualTo(Integer value) {
            addCriterion("order_type =", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotEqualTo(Integer value) {
            addCriterion("order_type <>", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThan(Integer value) {
            addCriterion("order_type >", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_type >=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThan(Integer value) {
            addCriterion("order_type <", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeLessThanOrEqualTo(Integer value) {
            addCriterion("order_type <=", value, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeIn(List<Integer> values) {
            addCriterion("order_type in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotIn(List<Integer> values) {
            addCriterion("order_type not in", values, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeBetween(Integer value1, Integer value2) {
            addCriterion("order_type between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("order_type not between", value1, value2, "orderType");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdIsNull() {
            addCriterion("pay_stream_id is null");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdIsNotNull() {
            addCriterion("pay_stream_id is not null");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdEqualTo(String value) {
            addCriterion("pay_stream_id =", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdNotEqualTo(String value) {
            addCriterion("pay_stream_id <>", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdGreaterThan(String value) {
            addCriterion("pay_stream_id >", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdGreaterThanOrEqualTo(String value) {
            addCriterion("pay_stream_id >=", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdLessThan(String value) {
            addCriterion("pay_stream_id <", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdLessThanOrEqualTo(String value) {
            addCriterion("pay_stream_id <=", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdLike(String value) {
            addCriterion("pay_stream_id like", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdNotLike(String value) {
            addCriterion("pay_stream_id not like", value, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdIn(List<String> values) {
            addCriterion("pay_stream_id in", values, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdNotIn(List<String> values) {
            addCriterion("pay_stream_id not in", values, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdBetween(String value1, String value2) {
            addCriterion("pay_stream_id between", value1, value2, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayStreamIdNotBetween(String value1, String value2) {
            addCriterion("pay_stream_id not between", value1, value2, "payStreamId");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNull() {
            addCriterion("pay_type is null");
            return (Criteria) this;
        }

        public Criteria andPayTypeIsNotNull() {
            addCriterion("pay_type is not null");
            return (Criteria) this;
        }

        public Criteria andPayTypeEqualTo(Integer value) {
            addCriterion("pay_type =", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotEqualTo(Integer value) {
            addCriterion("pay_type <>", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThan(Integer value) {
            addCriterion("pay_type >", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_type >=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThan(Integer value) {
            addCriterion("pay_type <", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeLessThanOrEqualTo(Integer value) {
            addCriterion("pay_type <=", value, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeIn(List<Integer> values) {
            addCriterion("pay_type in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotIn(List<Integer> values) {
            addCriterion("pay_type not in", values, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeBetween(Integer value1, Integer value2) {
            addCriterion("pay_type between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_type not between", value1, value2, "payType");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNull() {
            addCriterion("pay_status is null");
            return (Criteria) this;
        }

        public Criteria andPayStatusIsNotNull() {
            addCriterion("pay_status is not null");
            return (Criteria) this;
        }

        public Criteria andPayStatusEqualTo(Integer value) {
            addCriterion("pay_status =", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotEqualTo(Integer value) {
            addCriterion("pay_status <>", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThan(Integer value) {
            addCriterion("pay_status >", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("pay_status >=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThan(Integer value) {
            addCriterion("pay_status <", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusLessThanOrEqualTo(Integer value) {
            addCriterion("pay_status <=", value, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusIn(List<Integer> values) {
            addCriterion("pay_status in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotIn(List<Integer> values) {
            addCriterion("pay_status not in", values, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusBetween(Integer value1, Integer value2) {
            addCriterion("pay_status between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andPayStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("pay_status not between", value1, value2, "payStatus");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIsNull() {
            addCriterion("order_code is null");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIsNotNull() {
            addCriterion("order_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrderCodeEqualTo(String value) {
            addCriterion("order_code =", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotEqualTo(String value) {
            addCriterion("order_code <>", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeGreaterThan(String value) {
            addCriterion("order_code >", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeGreaterThanOrEqualTo(String value) {
            addCriterion("order_code >=", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeLessThan(String value) {
            addCriterion("order_code <", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeLessThanOrEqualTo(String value) {
            addCriterion("order_code <=", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeLike(String value) {
            addCriterion("order_code like", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotLike(String value) {
            addCriterion("order_code not like", value, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeIn(List<String> values) {
            addCriterion("order_code in", values, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotIn(List<String> values) {
            addCriterion("order_code not in", values, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeBetween(String value1, String value2) {
            addCriterion("order_code between", value1, value2, "orderCode");
            return (Criteria) this;
        }

        public Criteria andOrderCodeNotBetween(String value1, String value2) {
            addCriterion("order_code not between", value1, value2, "orderCode");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNull() {
            addCriterion("discount is null");
            return (Criteria) this;
        }

        public Criteria andDiscountIsNotNull() {
            addCriterion("discount is not null");
            return (Criteria) this;
        }

        public Criteria andDiscountEqualTo(String value) {
            addCriterion("discount =", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotEqualTo(String value) {
            addCriterion("discount <>", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThan(String value) {
            addCriterion("discount >", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountGreaterThanOrEqualTo(String value) {
            addCriterion("discount >=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThan(String value) {
            addCriterion("discount <", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLessThanOrEqualTo(String value) {
            addCriterion("discount <=", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountLike(String value) {
            addCriterion("discount like", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotLike(String value) {
            addCriterion("discount not like", value, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountIn(List<String> values) {
            addCriterion("discount in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotIn(List<String> values) {
            addCriterion("discount not in", values, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountBetween(String value1, String value2) {
            addCriterion("discount between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andDiscountNotBetween(String value1, String value2) {
            addCriterion("discount not between", value1, value2, "discount");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNull() {
            addCriterion("pay_time is null");
            return (Criteria) this;
        }

        public Criteria andPayTimeIsNotNull() {
            addCriterion("pay_time is not null");
            return (Criteria) this;
        }

        public Criteria andPayTimeEqualTo(Date value) {
            addCriterion("pay_time =", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotEqualTo(Date value) {
            addCriterion("pay_time <>", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThan(Date value) {
            addCriterion("pay_time >", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("pay_time >=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThan(Date value) {
            addCriterion("pay_time <", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeLessThanOrEqualTo(Date value) {
            addCriterion("pay_time <=", value, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeIn(List<Date> values) {
            addCriterion("pay_time in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotIn(List<Date> values) {
            addCriterion("pay_time not in", values, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeBetween(Date value1, Date value2) {
            addCriterion("pay_time between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andPayTimeNotBetween(Date value1, Date value2) {
            addCriterion("pay_time not between", value1, value2, "payTime");
            return (Criteria) this;
        }

        public Criteria andSellerStatusIsNull() {
            addCriterion("seller_status is null");
            return (Criteria) this;
        }

        public Criteria andSellerStatusIsNotNull() {
            addCriterion("seller_status is not null");
            return (Criteria) this;
        }

        public Criteria andSellerStatusEqualTo(Integer value) {
            addCriterion("seller_status =", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusNotEqualTo(Integer value) {
            addCriterion("seller_status <>", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusGreaterThan(Integer value) {
            addCriterion("seller_status >", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("seller_status >=", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusLessThan(Integer value) {
            addCriterion("seller_status <", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusLessThanOrEqualTo(Integer value) {
            addCriterion("seller_status <=", value, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusIn(List<Integer> values) {
            addCriterion("seller_status in", values, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusNotIn(List<Integer> values) {
            addCriterion("seller_status not in", values, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusBetween(Integer value1, Integer value2) {
            addCriterion("seller_status between", value1, value2, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andSellerStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("seller_status not between", value1, value2, "sellerStatus");
            return (Criteria) this;
        }

        public Criteria andParamIdIsNull() {
            addCriterion("param_id is null");
            return (Criteria) this;
        }

        public Criteria andParamIdIsNotNull() {
            addCriterion("param_id is not null");
            return (Criteria) this;
        }

        public Criteria andParamIdEqualTo(String value) {
            addCriterion("param_id =", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdNotEqualTo(String value) {
            addCriterion("param_id <>", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdGreaterThan(String value) {
            addCriterion("param_id >", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdGreaterThanOrEqualTo(String value) {
            addCriterion("param_id >=", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdLessThan(String value) {
            addCriterion("param_id <", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdLessThanOrEqualTo(String value) {
            addCriterion("param_id <=", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdLike(String value) {
            addCriterion("param_id like", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdNotLike(String value) {
            addCriterion("param_id not like", value, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdIn(List<String> values) {
            addCriterion("param_id in", values, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdNotIn(List<String> values) {
            addCriterion("param_id not in", values, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdBetween(String value1, String value2) {
            addCriterion("param_id between", value1, value2, "paramId");
            return (Criteria) this;
        }

        public Criteria andParamIdNotBetween(String value1, String value2) {
            addCriterion("param_id not between", value1, value2, "paramId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}